
package com.mu.rai.services;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for processRestarter complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="processRestarter">
 *   &lt;complexContent>
 *     &lt;extension base="{http://services.rai.mu.com}modelObject">
 *       &lt;sequence>
 *         &lt;choice>
 *           &lt;element name="console_channel" type="{http://services.rai.mu.com}consoleChannel"/>
 *           &lt;element name="ssh_channel" type="{http://services.rai.mu.com}sshChannel"/>
 *           &lt;element name="telnet_channel" type="{http://services.rai.mu.com}telnetChannel"/>
 *         &lt;/choice>
 *         &lt;element name="command_timeout" type="{http://www.w3.org/2001/XMLSchema}long"/>
 *         &lt;element name="start" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element name="stop" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *       &lt;/sequence>
 *     &lt;/extension>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "processRestarter", propOrder = {
    "consoleChannel",
    "sshChannel",
    "telnetChannel",
    "commandTimeout",
    "start",
    "stop"
})
public class ProcessRestarter
    extends ModelObject
{

    @XmlElement(name = "console_channel")
    protected ConsoleChannel consoleChannel;
    @XmlElement(name = "ssh_channel")
    protected SshChannel sshChannel;
    @XmlElement(name = "telnet_channel")
    protected TelnetChannel telnetChannel;
    @XmlElement(name = "command_timeout")
    protected long commandTimeout;
    @XmlElement(required = true)
    protected String start;
    @XmlElement(required = true)
    protected String stop;

    /**
     * Gets the value of the consoleChannel property.
     * 
     * @return
     *     possible object is
     *     {@link ConsoleChannel }
     *     
     */
    public ConsoleChannel getConsoleChannel() {
        return consoleChannel;
    }

    /**
     * Sets the value of the consoleChannel property.
     * 
     * @param value
     *     allowed object is
     *     {@link ConsoleChannel }
     *     
     */
    public void setConsoleChannel(ConsoleChannel value) {
        this.consoleChannel = value;
    }

    /**
     * Gets the value of the sshChannel property.
     * 
     * @return
     *     possible object is
     *     {@link SshChannel }
     *     
     */
    public SshChannel getSshChannel() {
        return sshChannel;
    }

    /**
     * Sets the value of the sshChannel property.
     * 
     * @param value
     *     allowed object is
     *     {@link SshChannel }
     *     
     */
    public void setSshChannel(SshChannel value) {
        this.sshChannel = value;
    }

    /**
     * Gets the value of the telnetChannel property.
     * 
     * @return
     *     possible object is
     *     {@link TelnetChannel }
     *     
     */
    public TelnetChannel getTelnetChannel() {
        return telnetChannel;
    }

    /**
     * Sets the value of the telnetChannel property.
     * 
     * @param value
     *     allowed object is
     *     {@link TelnetChannel }
     *     
     */
    public void setTelnetChannel(TelnetChannel value) {
        this.telnetChannel = value;
    }

    /**
     * Gets the value of the commandTimeout property.
     * 
     */
    public long getCommandTimeout() {
        return commandTimeout;
    }

    /**
     * Sets the value of the commandTimeout property.
     * 
     */
    public void setCommandTimeout(long value) {
        this.commandTimeout = value;
    }

    /**
     * Gets the value of the start property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getStart() {
        return start;
    }

    /**
     * Sets the value of the start property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setStart(String value) {
        this.start = value;
    }

    /**
     * Gets the value of the stop property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getStop() {
        return stop;
    }

    /**
     * Sets the value of the stop property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setStop(String value) {
        this.stop = value;
    }

}
